package model

type OrderCreateRequest struct {
	Id              int64   `json:"id"`
	OrderId         string  `json:"order_id"`
	CustomerId      string  `json:"customer_id"`
	OrderDate       int64   `json:"order_date"`
	OrderStatus     int     `json:"order_status"`
	TotalAmount     float64 `json:"total_amount"`
	PaymentMethod   string  `json:"payment_method"`
	ShippingAddress string  `json:"shipping_address"`
	Remarks         string  `json:"remarks"`
	OrderContext    string  `json:"order_context"`
	ExtraData       string  `json:"extra_data"`
	CreatedAt       int64   `json:"created_at"`
	UpdatedAt       int64   `json:"updated_at"`
}
type OrderUpdateRequest struct {
	Id              int64    `json:"id"`
	OrderId         *string  `json:"order_id"`
	CustomerId      *string  `json:"customer_id"`
	OrderDate       *int64   `json:"order_date"`
	SrcOrderStatus  []int    `json:"src_order_status"`
	OrderStatus     *int     `json:"order_status"`
	TotalAmount     *float64 `json:"total_amount"`
	PaymentMethod   *string  `json:"payment_method"`
	ShippingAddress *string  `json:"shipping_address"`
	Remarks         *string  `json:"remarks"`
	OrderContext    *string  `json:"order_context"`
	ExtraData       *string  `json:"extra_data"`
	CreatedAt       *int64   `json:"created_at"`
	UpdatedAt       *int64   `json:"updated_at"`
}
type OrderListRequest struct {
	Id              uint64   `json:"id"`
	OrderId         *string  `json:"order_id"`
	CustomerId      *string  `json:"customer_id"`
	OrderDate       *int64   `json:"order_date"`
	OrderStatus     *int     `json:"order_status"`
	TotalAmount     *float64 `json:"total_amount"`
	PaymentMethod   *string  `json:"payment_method"`
	ShippingAddress *string  `json:"shipping_address"`
	Remarks         *string  `json:"remarks"`
	OrderContext    *string  `json:"order_context"`
	ExtraData       *string  `json:"extra_data"`
	CreatedAt       *int64   `json:"created_at"`
	UpdatedAt       *int64   `json:"updated_at"`
	Index           int      `json:"index"`
	Size            int      `json:"size"`
}
type OrderListResponse struct {
	Total int          `json:"total"`
	List  []*OrderInfo `json:"list"`
}
type OrderInfoRequest struct {
	Id          uint64 `json:"id"`
	OrderNo     string `json:"order_no"`
	OrderStatus []int  `json:"order_status"`
	CustomerId  string `json:"customer_id"`
	ExtraData   string `json:"extra_data"`
}
type OrderInfo struct {
	Id              int64   `json:"id"`
	OrderId         string  `json:"order_id"`
	CustomerId      string  `json:"customer_id"`
	OrderDate       int64   `json:"order_date"`
	OrderStatus     int     `json:"order_status"`
	TotalAmount     float64 `json:"total_amount"`
	PaymentMethod   string  `json:"payment_method"`
	ShippingAddress string  `json:"shipping_address"`
	Remarks         string  `json:"remarks"`
	OrderContext    string  `json:"order_context"`
	ExtraData       string  `json:"extra_data"`
	CreatedAt       int64   `json:"created_at"`
	UpdatedAt       int64   `json:"updated_at"`
}
type OrderDeleteRequest struct {
	Id int64 `json:"id"`
}
